put ApplicationList("noDialog:errGlobal") into appInfo
if errGlobal Γëá empty then
answer "Error: ΓÇ£" & errGlobal & "ΓÇ¥"
put empty into errGlobal
else
put appInfo into cd fld "App list"
end if
end mouseUp
-- part contents for background part 38
----- text -----
2/50
-- part contents for background part 20
----- text -----
An XFCN which returns a list of all programs running under MultiFinder, their partition sizes, and application signatures (creators). This list can include applications, Finder, and so called "faceless background processes" such as Backgrounder and DA Handler. Under mono Finder the XFCN will return an error message.
The list returned is carraige return delimited, each line contains the application/process name, a space, the actual partition size in bytes (always the second to last word on the line), a space, and the four character file type string (always the last word on the line). We decided to format the XFCN's result with spaces rather than commas because Macintosh file names may contain commas.
The partition size number seems to have 16 bytes more than the number reported in the "About Finder" dialog ie:
(number reported by XFCN - 16) div 1024 = number reported in "About Finder".